package main.java.DMDE.controllers.factories;

import org.picocontainer.MutablePicoContainer;
import main.java.DMDE.controllers.IInterfaceController;


public class InterfaceControllerFactory implements IInterfaceControllerFactory {

    private MutablePicoContainer container;

    public InterfaceControllerFactory(MutablePicoContainer container) {
	this.container = container;
    }

    @Override
    public IInterfaceController create() {
	return this.container.getComponent(IInterfaceController.class);
    }

}
